package com.sunfeng.demo01;

/**
 * @description:
 * @author: 孙 峰
 * @time: 2020/11/3 12:37
 */
public class Demo02 {
    public static void main(String[] args) {
        boolean prime = isPrime(27);
        System.out.println(1.0/0.0);

    }

    public static boolean isPrime(int N) {
        if (N < 2) return false;
        for (int i = 1; i < N; i++) {
            if (N % i == 0) return false;
        }
        return true;
    }
}
